package com.clhbolg.strategy;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * 策略接口
 */
public interface UploadStrategy {

    String uploadFile(MultipartFile file, String path);

    String uploadFile(String fileName, InputStream inputStream, String path);
    void deleteFile(String fileName);
}
